<template>
  <div id="userLayout">
    <a-layout style="height: 100vh">
      <a-layout-header class="header">
        <a-space>
          <img src="../assets/logo.jpg" class="logo" alt="logo" />
          <div class="title">Lin-智能AI在线答题平台</div></a-space
        >
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="https://gitee.com/linsheng0116" target="_blank">By林笙</a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup></script>

<style scoped>
#userLayout {
  text-align: center;
  background: url("https://gw.alipayobjects.com/zos/rmsportal/FfdJeJRQWjEeGTpqgBKj.png")
    0% 0% / 100% 100%;
}
#userLayout .logo {
  width: 60px;
  height: 60px;
}

#userLayout .content {
  margin-bottom: 28px;
  padding: 10px;
}
#userLayout .header {
  margin-top: 16px;
  font-size: 20px;
}
.footer {
  padding: 16px;
  text-align: center;
  text-decoration: none;
  background: #efefef;
}
</style>
